<?php

class CRTSession {
	static function set($key, $val) {
		$key = Clean::string($key);
		$_SESSION['crt'][$key] = $val;
	}

	static function get($key) {
		$key = Clean::string($key);
		return $_SESSION['crt'][$key];
	}

	static function destroy() {
		unset($_SESSION['crt']);
		session_destroy();
	}

	static function start() {
		session_start();
	}
}

?>
